<!DOCTYPE html>
<html data-ng-app=" ">
<head>
	<meta charset="UTF-8">
	<title>Login</title>
	<link rel="stylesheet" href="css\bootstrap.css" />
	<link rel="stylesheet" href="css\MainStyle.css" />
	<link rel="stylesheet" href="css\IndexStyle.css" />
	<script src="js/angular.min.js"></script>
	<script src="js/ValidateRegistration.js"></script>
</head>
<body data-ng-controller="mainForm" >

  		<div class="modal-dialog panel-transparent voffset10">
  		<div class="modal-content panel-q-transparent">
	      		<div class="modal-header">
	          		<h1 class="text-center">Login</h1>
	      		</div>
		      	<div class="modal-body" id="LoginDiv" data-ng-init ="checkSessionFromLogin()"   style="width:130%" >
					<form  name="log" id="LoginForm"  novalidate data-ng-submit="ValidateLogin(log.$valid)"  >
						<div class="form-group" >
						    <label for="Username">User Name</label>
						    <input type="text" class="form-control" name="Username" placeholder="Username" data-ng-model="Username" required/>
						</div>
						<div class="form-group">
						  <label for="Password">Password</label>
						  <input type="password" class="form-control" id="Password" name="Password" placeholder="Password" data-ng-model="Password" required/>
						</div>
						  <!-- To identify from which form it was sent -->
						 <div class="form-group">
						 	<input type="text" class="form-control" name="Login" data-ng-model="Login" id="LoginHiddenForm" />
						 	<small data-ng-model="errLabel" id="ErrorLabel">{{errLabel}} </small>
						 </div>
				    	 <button type="submit" class="btn btn-info">Log In</button>
					</form>
				</div>	
				<div class="modal-footer">
	            	New To Travel2Tell?
	            	<a href="/DGWeb/Registration.html" class="btn btn-primary">Sign Up</a>
	          	</div>
		</div>
		</div>
</body>
</html>